﻿using PowerBooking.RSE.Poco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PowerBooking.RSE.Domain.Models
{
    /// <summary>
    /// 筛选项领域对象
    /// </summary>
    public class Filter
    {
        /// <summary>
        /// ID
        /// </summary>
        public long FilterID { get { return filterPoco.FilterID; } }

        /// <summary>
        /// 分类名
        /// </summary>
        public string Name { get { return filterPoco.Name; } }

        /// <summary>
        /// Url
        /// </summary>
        public string Url { get { return filterPoco.Url; } }

        private FilterPoco filterPoco;

        public Filter InitDomain(FilterPoco filterPoco)
        {
            this.filterPoco = filterPoco;
            return this;
        }
    }
}
